import upload from '@/util/upload'

const Api = {};

Api.upload = function(filePath, data) {
	return upload({
		url: 'upload',
		method: 'post',
		filePath: filePath,
		name: 'file',
		data: data
	})
}
export default Api
